NEW Upgrade of Our Game Servers See News

How to Install and Configure Discord Extension on Your Rust Server

How to Install and Configure Discord Extension on Your Rust Server

/ Support / Rust / How to Install and Configure Discord Extension on Your Rust Server

Image zoomed

<h1>How to Install and Configure Discord Extension on Your Rust Server</h1>
<p>The Discord Extension allows you to integrate your Rust server with Discord, enhancing communication and server management. Follow this guide to manually download, install, and configure the Discord Extension.</p>
<hr />
<h2>Step-by-Step Guide</h2>
<h3>Step 1: Download the Discord Extension</h3>
<ul>
<li>Visit the official <a href="https://umod.org/extensions/discord" target="_blank" rel="noopener">Discord Extension page on uMod</a>.</li>
<li>Click <strong>"Download"</strong> to get the latest version of the extension.</li>
</ul>
<h3>Step 2: Upload the Discord Extension to Your Server</h3>
<ul>
<li>Log in to your game panel at <a href="https://panel.pineriver.net" target="_blank" rel="noopener">game panel</a>.</li>
<li>Navigate to <strong>"File Manager"</strong> and locate the <code>RustDedicated_Data/Managed</code> folder.</li>
<li>Upload the downloaded Discord Extension file to this directory.</li>
</ul>
<h3>Step 3: Restart the Server</h3>
<ul>
<li>Click the <strong>"Restart"</strong> button in the game panel to restart your server.</li>
<li>Wait until the server restarts and verify that the Discord Extension is working correctly.</li>
</ul>
<h3>Step 4: Set Up Your Discord Bot</h3>
<ul>
<li>Go to the <a href="https://discord.com/developers/applications" target="_blank" rel="noopener">Discord Developer Portal</a>.</li>
<li>Click <strong>"New Application"</strong>, name it, and click <strong>"Create"</strong>.</li>
<li>Navigate to the <strong>"Bot"</strong> tab and click <strong>"Add Bot"</strong>.</li>
<li>Customize your bot's username and icon, enable <strong>"Presence Intent"</strong>, <strong>"Server Members Intent"</strong>, and <strong>"Message Content Intent"</strong>.</li>
<li>Copy the API token by clicking <strong>"Copy"</strong>. <strong>Note:</strong> Never share this token publicly!</li>
<li>Go to the <strong>"OAuth2"</strong> tab, click <strong>"URL Generator"</strong>, select <strong>"Bot"</strong> under Scope, choose the required permissions, and copy the generated URL.</li>
<li>Paste the URL in your browser to invite the bot to your Discord server.</li>
</ul>
<h3>Step 5: Configure the Discord Extension</h3>
<ul>
<li>Open the <code>oxide/discord.config.json</code> file in your server's file manager.</li>
<li>Add your Discord API token and modify other necessary settings.</li>
<li>Use a JSON validator to ensure the file is properly formatted.</li>
</ul>
<h3>Step 6: Use Discord Extension Commands</h3>
<p>The Discord Extension provides several useful commands:</p>
<ul>
<li><code>de.version</code> - Display the current version.</li>
<li><code>de.websocket.reset</code> - Reset websockets.</li>
<li><code>de.log.console</code> - Set console log level (Verbose, Debug, Info, etc.).</li>
<li><code>de.help</code> - Display command help.</li>
</ul>
<hr />
<h2>Additional Support</h2>
<p>If you encounter issues, refer to the <a href="https://umod.org/extensions/discord" target="_blank" rel="noopener">Discord Extension documentation</a> or contact our support via <a href="https://pineriver.net/support" target="_blank" rel="noopener">our support portal</a>.</p>
<div class="alert alert-info">
<p><strong>CTA:</strong> Ready to optimize your Rust server with Discord integration? <a href="https://pineriver.net/produkter" target="_blank" rel="noopener">Explore our hosting plans</a> and elevate your gaming experience today!</p>
</div>